package models

type SysErrorRecord struct {
	Model
	StudentId      int    `json:"student_id" gorm:"type:int(1);comment:学员ID"`
	ExId           int    `json:"ex_id" gorm:"int(10);comment:题库ID"`
	LinkType       int    `json:"link_type" gorm:"tinyint(1);comment:关联ID 1-网课 2-练习题 3-试卷"`
	LinkId         int    `json:"link_id" gorm:"int(5);comment:关联ID"`
	SubjectType    string `json:"subject_type" gorm:"varchar(20);comment:题目题型"`
	ErrorFrequency uint32 `json:"error_frequency" gorm:"smallint(5);comment:错误次数"`
	ModelTime
}

func (SysErrorRecord) TableName() string {
	return "sys_error_record"
}
